#include <IBean.h>
#include <ICamera.h>
#include "IDispctrlServlet.h"
#include "IServlet.h"
#include "ILogger.h"
#include "IContainer.h"
class DispctrlServletImp : public IDispctrlServlet{
public:
 
    virtual void open(ISession* session){
       // qcarcam_test_start();
       // Bean<ICamera>("qcarcam")->start();
       LogI("invoke Bean<ICamera>(\"qcarcam\")->start()");
    }
    virtual void close(ISession* session){
       // qcarcam_test_start();
       // Bean<ICamera>("qcarcam")->start();
       LogI("invoke Bean<ICamera>(\"qcarcam\")->start()");
    }
 
    virtual void onOpen(ISession* session) {
        LogI("onOpen %p",session);
        // Bean<ICamera>("qcarcam")->start();
        LogI("invoke Bean<ICamera>(\"qcarcam\")->start()");
        
    }
    virtual void onLoad(INode *node) {
        LogI("servlet onLoad");
    }
    virtual void onUnload() {
        LogI("servlet onUnload");
    }
};


REG_PLUGIN(LCMServletImp);

